function fnResetHtmlFontSize() {
	var deviceWidth = document.documentElement.clientWidth;
	if(deviceWidth > 750) deviceWidth = 750;
	document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
}
fnResetHtmlFontSize();
window.addEventListener('resize', fnResetHtmlFontSize, false);